package com.linkelee.biz.service.sys;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.linkelee.api.model.oss.SysOss;
import com.linkelee.api.service.oss.ISysOssService;
import com.linkelee.api.util.PageUtils;
import com.linkelee.api.util.Query;
import com.linkelee.biz.mapper.oss.SysOssMapper;
import org.springframework.stereotype.Service;

import java.util.Map;


@Service("sysOssService")
public class SysOssServiceImpl extends ServiceImpl<SysOssMapper, SysOss> implements ISysOssService {

	@Override
	public PageUtils queryPage(Map<String, Object> params) {
		IPage<SysOss> page = this.page(
			new Query<SysOss>().getPage(params)
		);

		return new PageUtils(page);
	}
	
}
